<!--
  Generated template for the SerspoutDetailPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>出库详情</ion-title>
  </ion-navbar>

</ion-header>


<ion-content>
  <ion-list>
    
      <!--<ion-thumbnail item-start>
            <img src="/assets/imgs/customer_default.png">
          </ion-thumbnail>
      
          <h2>业务员：{{spout.sp_out__house_user}}</h2>
          <h3>出库类别：{{spout.sp_out__out_type == 10?"销售出库":"其他出库"}}</h3>
          <p>仓库：{{spout.sp_out__house_name}}</p>
          <p>单号：{{spout.sp_out__out_code}}</p>
          <p>出库日期: {{spout.sp_out__out_date}}</p>
        -->
      <ion-item>
        <ion-label>业务员</ion-label>
        <ion-label>{{spout.sp_out__house_user}}</ion-label>
      </ion-item>
      <ion-item>
        <ion-label>出库类别</ion-label>
        <ion-label>{{spout.sp_out__out_type == 10?"销售出库":"其他出库"}}</ion-label>
      </ion-item>
      <ion-item>
        <ion-label>仓库</ion-label>
        <ion-label>{{spout.sp_out__house_name}}</ion-label>
      </ion-item>
      <ion-item>
        <ion-label>单号</ion-label>
        <ion-label>{{spout.sp_out__out_code}}</ion-label>
      </ion-item>
      <ion-item>
        <ion-label>出库日期</ion-label>
        <ion-label>{{spout.sp_out__out_date}}</ion-label>
      </ion-item>
  </ion-list>
  <ion-list id="detail">
    <ion-item>
      <ion-label fixed>出库明细</ion-label>
      <ion-input type="hidden"></ion-input>
    </ion-item>
    <ion-list>
      <ion-item-sliding *ngFor="let item of details">
        <ion-item>
          <div class="detail-item">
            <p class="detail-title">名称：{{item.sp_out_det__sp_name}}</p>
            <div class="detail-content">
              <p>编码：{{item.sp_out_det__sp_code}}</p>
              <span>仓库：{{item.sp_out_det__stock_name}}</span>
              <span>数量：{{item.sp_out_det__out_num |number:0}}</span>
              <span>单价：{{item.sp_out_det__tax_price | currency:"¥"}}</span>
            </div>
          </div>
          <ion-badge item-end>{{item.sp_out_det__tax_money| currency:"¥"}}</ion-badge>
        </ion-item>
      </ion-item-sliding>
    </ion-list>
  </ion-list>
</ion-content>
